import request from '@/utils/request'

// 查询氟化氢数据列表
export function listHfData(query) {
  return request({
    url: '/environment/hfData/list',
    method: 'get',
    params: query
  })
}

// 查询氟化氢数据详细
export function getHfData(id) {
  return request({
    url: '/environment/hfData/' + id,
    method: 'get'
  })
}

// 新增氟化氢数据
export function addHfData(data) {
  return request({
    url: '/environment/hfData',
    method: 'post',
    data: data
  })
}

// 修改氟化氢数据
export function updateHfData(data) {
  return request({
    url: '/environment/hfData/editById',
    method: 'post',
    data: data
  })
}

// 删除氟化氢数据
export function delHfData(id) {
  return request({
    url: '/environment/hfData/deleteByIds',
    method: 'post',
    data: {
      ids:id
    }
  })
}
